package com.wee.cronos.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.gwtplatform.mvp.client.DelayedBindRegistry;
import com.wee.cronos.client.gin.CronosGinjector;

public class CronosEntryPoint implements EntryPoint
{
	public final CronosGinjector ginjector = GWT.create(CronosGinjector.class);
    
	@Override
    public void onModuleLoad() 
    {
        // This is required for Gwt-Platform proxy's generator.
        DelayedBindRegistry.bind(ginjector);
        
        ginjector.getPlaceManager().revealCurrentPlace();
        
        // Resources
        ginjector.getResource().cellListStyle().ensureInjected();
        ginjector.getResource().defaultStyle().ensureInjected();
    }
}
